
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: class Resource</title>
</head><body bgcolor="#f0f0f8">
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;class&nbsp;for&nbsp;interacting&nbsp;with&nbsp;a&nbsp;resource.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="Resource-query"><strong>query</strong></a> = method(self, **kwargs)</dt><dd><tt>Returns&nbsp;free/busy&nbsp;information&nbsp;for&nbsp;a&nbsp;set&nbsp;of&nbsp;calendars.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;body:&nbsp;object,&nbsp;The&nbsp;request&nbsp;body.&nbsp;(required)<br>
&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;object&nbsp;takes&nbsp;the&nbsp;form&nbsp;of:<br>
&nbsp;<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;"calendarExpansionMax":&nbsp;42,&nbsp;#&nbsp;Maximal&nbsp;number&nbsp;of&nbsp;calendars&nbsp;for&nbsp;which&nbsp;FreeBusy&nbsp;information&nbsp;is&nbsp;to&nbsp;be&nbsp;provided.&nbsp;Optional.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"groupExpansionMax":&nbsp;42,&nbsp;#&nbsp;Maximal&nbsp;number&nbsp;of&nbsp;calendar&nbsp;identifiers&nbsp;to&nbsp;be&nbsp;provided&nbsp;for&nbsp;a&nbsp;single&nbsp;group.&nbsp;Optional.&nbsp;An&nbsp;error&nbsp;will&nbsp;be&nbsp;returned&nbsp;for&nbsp;a&nbsp;group&nbsp;with&nbsp;more&nbsp;members&nbsp;than&nbsp;this&nbsp;value.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"timeMax":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;end&nbsp;of&nbsp;the&nbsp;interval&nbsp;for&nbsp;the&nbsp;query.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"items":&nbsp;[&nbsp;#&nbsp;List&nbsp;of&nbsp;calendars&nbsp;and/or&nbsp;groups&nbsp;to&nbsp;query.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"id":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;identifier&nbsp;of&nbsp;a&nbsp;calendar&nbsp;or&nbsp;a&nbsp;group.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;"timeMin":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;start&nbsp;of&nbsp;the&nbsp;interval&nbsp;for&nbsp;the&nbsp;query.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"timeZone":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Time&nbsp;zone&nbsp;used&nbsp;in&nbsp;the&nbsp;response.&nbsp;Optional.&nbsp;The&nbsp;default&nbsp;is&nbsp;UTC.<br>
&nbsp;&nbsp;}<br>
&nbsp;<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;An&nbsp;object&nbsp;of&nbsp;the&nbsp;form<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;"timeMax":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;end&nbsp;of&nbsp;the&nbsp;interval.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"kind":&nbsp;"calendar#freeBusy",&nbsp;#&nbsp;Type&nbsp;of&nbsp;the&nbsp;resource&nbsp;("calendar#freeBusy").<br>
&nbsp;&nbsp;&nbsp;&nbsp;"calendars":&nbsp;{&nbsp;#&nbsp;List&nbsp;of&nbsp;free/busy&nbsp;information&nbsp;for&nbsp;calendars.<br>
&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;"timeMin":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;start&nbsp;of&nbsp;the&nbsp;interval.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"groups":&nbsp;{&nbsp;#&nbsp;Expansion&nbsp;of&nbsp;groups.<br>
&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;}</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table>
</body></html>